package main

import (
	"fmt"
)

var c int
var a int
var c1, c2, c3 bool

func main() {
	var a int = 1
	var b string = "string"
	var c float64 = 20.0
	const D int = 5
	const H int = 12
	const S = D * H
	fmt.Printf("area is %d\n", S)
	fmt.Println(a, b)
	fmt.Println(c)
	fmt.Println(c1, c2, c3)
	fmt.Println(add(3, 4))
	fmt.Println(get(5))
}

func add(a, b int) int {
	return a + b
}

func get(sum int) (x, y int) {
	x = sum * 2
	y = sum - x
	return
}
